package com.daffodil.flowable.constant;

/**
 * 
 * @author yweijian
 * @date 2021年11月5日
 * @version 1.0
 * @description
 */
public class FlowableConstant {
    
    /**
     * api上下文地址
     */
    public static final String API_CONTENT_PATH = "/api-flowable";
    
    /** token认证前缀 */
    public static final String BEARER = "Bearer ";

    /** 认证token关键字 */
    public static final String ACCESS_TOKEN = "access_token";
    
    /** 授权token关键字 */
    public static final String X_REQUEST_AUTHOR_TOKEN_HEADER = "X-Request-Author-Token";

    /** 请求头的追踪标识 */
    public static final String X_REQUEST_TRACEID_HEADER = "X-Request-Trace-Id";
    
    /** 追踪应用标识 */
    public static final String MDC_TRACE_APP = "appName";
    
    /** 追踪标识 */
    public static final String MDC_TRACE_ID = "traceId";
    
    /** 保存 */
    public static final String actFlowSave = "actFlowSave";
    /** 发送 */
    public static final String actFlowSend = "actFlowSend";
    /** 撤办 */
    public static final String actFlowBack = "actFlowBack";
    /** 驳回 */
    public static final String actFlowReject = "actFlowReject";
    /** 作废 */
    public static final String actFlowTrash = "actFlowTrash";
    /** 关闭 */
    public static final String actFlowClose = "actFlowClose";
    
    /** 待办任务 */
    public static final String TASK_UNFINISHED = "unfinished";
    /** 经办任务 */
    public static final String TASK_FINISHED = "finished";
    /** 办结任务 */
    public static final String TASK_COMPLETED = "completed";
}
